package com.smart.order.controller;

import com.qf.common.result.ResponseResult;
import com.smart.order.api.CartsApi;
import com.smart.order.dto.CartsDTO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/carts")
public class CartsController implements CartsApi {


    @Override
    public ResponseResult<List<CartsDTO>> list(@RequestParam("ids") List<Long> ids) {
        return null;
    }

    @Override
    public ResponseResult<List<CartsDTO>> batchDel(@RequestParam List<Long> ids) {
        return null;
    }
}
